package com.toune.movie.base;

/**
 * Created by Administrator on 2018/4/26.
 */

public class BasePresenterImpl<T extends BaseView> {
    public T mView;

    //绑定view，这个方法将会在activity中调用
    public void attachView(T view) {
        this.mView = view;
    }

    //解绑
    public void detachView() {
        mView = null;
    }

    //也就是activity的onResume(),presenter一般在这个方法里面做一些监听事件
    public void onResume() {
    }
}
